package com.qianmo.mapper;

import com.qianmo.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {

    public User getByUsernameAndPassword(User user);
    public List<User> getAll();
    public Integer register(User user);
}
